package com.njxxted.activiti;

import org.activiti.spring.boot.SecurityAutoConfiguration;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication(exclude = {SecurityAutoConfiguration.class,
        org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class})
@EnableTransactionManagement
@EnableSwagger2
public class ActivitiApplication {
    private static Logger logger = LoggerFactory.getLogger(ActivitiApplication.class);
    public static void main(String[] args) {
        SpringApplication.run(ActivitiApplication.class, args);
        logger.info("系统服务启动完成！！！");
    }

}
